#ifndef CHANOI_H
#define CHANOI_H
#define MAX_LAYERS 7
class CHanoi
{
    public:
        CHanoi();
        ~ CHanoi();
        int m_nLayers, m_lpiColumn[MAX_LAYERS * 3], m_lpiHeight[3], m_lpiRecords[1024], m_lpiSteps[2];
        void Init();
        int TestMove(int iSrc, int iDest);
        int BaseMove(int iSrc, int iDest);
        int MoveWithRecord(int iSrc, int iDest);
        int Forward();
        int Backward();
        void SetLayers(int nNewLayers);
        void GenerateAuto();
    protected:

    private:
};

#endif // CHANOI_H
